<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Главная страница игры</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f0f0f0;
        }

        nav {
            background-color: #333;
            padding: 10px;
            text-align: center;
        }

        nav li {
            display: inline;
            margin-right: 20px;
        }

        nav li a {
            color: #fff;
            text-decoration: none;
            font-size: 18px;
            transition: color 0.3s ease;
        }

        nav li a:hover {
            color: #ffcc00;
        }
    </style>
</head>

<body>

    <div>
        <nav>
            <li><a href="{{ route('main.game') }}">Играть</a></li>
            <li><a href="{{ route('main.info') }}">Статистика</a></li>
            <li><a href="{{ route('main.edit') }}">Изменить ник</a></li>
        </nav>
    </div>

    <script>
        function openTab(tabName) {
            var i;
            var tabcontent = document.getElementsByClassName("tab-content");
            for (i = 0; i < tabcontent.length; i++) {
                tabcontent[i].style.display = "none";
            }
            document.getElementById(tabName).style.display = "block";
        }
    </script>

</body>

</html>
